# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html
from gzspider.models import GzSpider
from gzspider.models import ShenZhenSpider

from scrapy_djangoitem import DjangoItem


# class GzSpiderItem(scrapy.Item):
#     # title = scrapy.Field()
#     # published_at = scrapy.Field()
#     # content = scrapy.Field()


class GzSpiderItem(DjangoItem):
    django_model = GzSpider


# class ShenzhenItem(scrapy.Item):
#     title = scrapy.Field()
#     date = scrapy.Field()
#     content = scrapy.Field()
#     # image_urls：是用来保存这个item上的图片的链接的
#     image_urls = scrapy.Field()
#     # images：是后期图片下载完成后形成image对象再保存到这个上面
#     images = scrapy.Field()


class ShenZhenSpiderItem(DjangoItem):
    django_model = ShenZhenSpider


class HZSpiderItem(DjangoItem):
    django_model = None